{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/FindUsers/index.tsx\";\nimport React from 'react';\nimport { Users } from \"../index\";\nimport { InputBase } from \"@mui/material\";\nimport \"./FindUsers.scss\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst FindUsers = _ref => {\n  let {\n    users,\n    onSearch,\n    inputValue\n  } = _ref;\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    className: \"users\",\n    children: [/*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"users-item-search\",\n      children: /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"users-item-search-form\",\n        children: /*#__PURE__*/_jsxDEV(InputBase, {\n          className: \"users-item-search-form-input\",\n          placeholder: \"\\u041F\\u043E\\u0438\\u0441\\u043A \\u043F\\u043E\\u043B\\u044C\\u0437\\u043E\\u0432\\u0430\\u0442\\u0435\\u043B\\u044F\",\n          inputProps: {\n            'aria-label': 'Поиск поьзователя'\n          },\n          onChange: e => onSearch && onSearch(e.target.value),\n          value: inputValue\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 12,\n          columnNumber: 21\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 11,\n        columnNumber: 17\n      }, this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 10,\n      columnNumber: 13\n    }, this), /*#__PURE__*/_jsxDEV(Users, {\n      users: users\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 21,\n      columnNumber: 13\n    }, this)]\n  }, void 0, true, {\n    fileName: _jsxFileName,\n    lineNumber: 9,\n    columnNumber: 9\n  }, this);\n};\n_c = FindUsers;\nexport default FindUsers;\nvar _c;\n$RefreshReg$(_c, \"FindUsers\");","map":{"version":3,"names":["React","Users","InputBase","FindUsers","users","onSearch","inputValue","e","target","value"],"sources":["/data/messenger.client/src/components/FindUsers/index.tsx"],"sourcesContent":["import React from 'react';\nimport {Users} from \"../index\";\nimport {InputBase} from \"@mui/material\";\nimport {FindUsersProps} from \"../../models/props/FindUsersProps\";\nimport \"./FindUsers.scss\";\n\nconst FindUsers: React.FC<FindUsersProps> = ({users, onSearch, inputValue}) => {\n    return (\n        <div className=\"users\">\n            <div className=\"users-item-search\">\n                <div className=\"users-item-search-form\">\n                    <InputBase\n                        className=\"users-item-search-form-input\"\n                        placeholder=\"Поиск пользователя\"\n                        inputProps={{ 'aria-label': 'Поиск поьзователя' }}\n                        onChange={e => (onSearch && onSearch(e.target.value))}\n                        value={inputValue}\n                    />\n                </div>\n            </div>\n            <Users users={users} />\n        </div>\n    );\n}\n\nexport default FindUsers;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,KAAK,QAAO,UAAU;AAC9B,SAAQC,SAAS,QAAO,eAAe;AAEvC,OAAO,kBAAkB;AAAC;AAE1B,MAAMC,SAAmC,GAAG,QAAmC;EAAA,IAAlC;IAACC,KAAK;IAAEC,QAAQ;IAAEC;EAAU,CAAC;EACtE,oBACI;IAAK,SAAS,EAAC,OAAO;IAAA,wBAClB;MAAK,SAAS,EAAC,mBAAmB;MAAA,uBAC9B;QAAK,SAAS,EAAC,wBAAwB;QAAA,uBACnC,QAAC,SAAS;UACN,SAAS,EAAC,8BAA8B;UACxC,WAAW,EAAC,yGAAoB;UAChC,UAAU,EAAE;YAAE,YAAY,EAAE;UAAoB,CAAE;UAClD,QAAQ,EAAEC,CAAC,IAAKF,QAAQ,IAAIA,QAAQ,CAACE,CAAC,CAACC,MAAM,CAACC,KAAK,CAAG;UACtD,KAAK,EAAEH;QAAW;UAAA;UAAA;UAAA;QAAA;MACpB;QAAA;QAAA;QAAA;MAAA;IACA;MAAA;MAAA;MAAA;IAAA,QACJ,eACN,QAAC,KAAK;MAAC,KAAK,EAAEF;IAAM;MAAA;MAAA;MAAA;IAAA,QAAG;EAAA;IAAA;IAAA;IAAA;EAAA,QACrB;AAEd,CAAC;AAAA,KAjBKD,SAAmC;AAmBzC,eAAeA,SAAS;AAAC;AAAA"},"metadata":{},"sourceType":"module"}